package com.campus.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.commons.entity.GoodClass;
import com.campus.commons.utils.Result;

import java.util.List;

/**
 * 文明班级接口
 * @author 333255
 */
public interface GoodClassService extends IService<GoodClass> {

    /**
     * 文明班级筛选
     *
     * @param idRed
     * @param work
     * @param beginTime
     * @param endTime
     * @param page
     * @param limit
     * @return
     */
    Result<List<GoodClass>> GoodClass(int idRed, int work, String beginTime, String endTime, int page , int limit);

    /**
     * 周统计与月统计
     * @param page
     * @param limit
     * @param beginTime
     * @param endTime
     * @return
     */
    Result<List<GoodClass>> monthlyAndWeekStatistics(int page, int limit, String beginTime, String endTime);
}
